import * as actionType from '@/store/action/actionType'
const shopcartReducer=(state={list:[]},action)=>{
    console.log('----------shopcartReducer------------------');
    switch(action.type){
        case actionType.GETSHOPCARTDATA:
            return {list:action.payload}
        default:
            return state
    }
}
export default shopcartReducer